﻿<Window x:Class="PotatoSoft.VisualOctStudio.SplashScreenWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
        xmlns:local="clr-namespace:PotatoSoft.ViewModel;assembly=PotatoSoft.ViewModel"
        xmlns:View="clr-namespace:PotatoSoft.VisualOctStudio"
        xmlns:GalaSoft_MvvmLight_Command="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF4"
        Title="SplashScreenWindow" WindowStyle="None" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" Background="{StaticResource tlo}" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="327" Width="600">
    <Window.DataContext>
        <Binding Path="SplashScreen" Source="{StaticResource Locator}"></Binding>
    </Window.DataContext>
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="ContentRendered">
            <GalaSoft_MvvmLight_Command:EventToCommand Command="{Binding Start, Mode=Default}">
            </GalaSoft_MvvmLight_Command:EventToCommand>
        </i:EventTrigger>
    </i:Interaction.Triggers>
    <Grid Width="600" Height="327">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="538*" />
            <ColumnDefinition Width="62*" />
        </Grid.ColumnDefinitions>
        <Rectangle Height="25" HorizontalAlignment="Left" Margin="0,274,0,0" Name="rectangle1" VerticalAlignment="Top" Width="492" Fill="#8E6A8198" />
        <Label Content="{Binding SplashScreenInfo}"  Height="28" HorizontalAlignment="Left" Margin="12,274,0,0" Name="log" VerticalAlignment="Top" Foreground="#FFF3ECEC" />
        <ProgressBar Maximum="{Binding ProgressBarMax}" Value="{Binding ProgressBarValue}"  Height="10" HorizontalAlignment="Left" Margin="0,317,0,0" Name="progressBar1" VerticalAlignment="Top" Width="600" Grid.ColumnSpan="2" />
    </Grid>
</Window>
